<?php /* Smarty version 2.6.26, created on 2018-07-05 16:53:43
         compiled from D:%5Cwww%5Cvweb/admin%5Ctemplates/api/sms.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<div class="nav"><span>短信设置</span></div>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>短信为第三方短信服务，短信服务更好的能验证会员的真实性。</p>
		<p>短信主要用到验证码，各类交易通知，更好的让用户感受到方便。短信服务为国内优势比较大的平台服务商。</p> 
		<p>每次请选择一个服务商提供短信服务支持。</p> 
	</div> 
</div>
<div class="main"> 
	<table width="100%" class="ltable">
		<thead>
			<tr>
				<th width="130">别名</th>
				<th width="150">短信服务名称</th> 
				<th width="120">签名</th> 
				<th width="400">描述</th> 
				<th width="150">操作</th> 
				<th width="80">开启状态</th> 
				<th></th>
			</tr>
		</thead>
		<tbody>
	<?php if ($this->_tpl_vars['data']): ?> 
		<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
			<tr>
				<td><?php echo $this->_tpl_vars['i']['alias']; ?>
</td> 
				<td><?php echo $this->_tpl_vars['i']['name']; ?>
</td> 
				<td><?php echo $this->_tpl_vars['i']['sign']; ?>
</td> 
				<td style=" text-align:left; padding-left:15px;"><?php echo $this->_tpl_vars['i']['describe']; ?>
</td> 
				<td>
					<a href="?m=api&a=sms_edit&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="edit">配置</a>
					<a href="?m=api&a=notice_tpl&type=sms&alias=<?php echo $this->_tpl_vars['i']['alias']; ?>
" class="edit">模板</a>
				</td> 
				<td>
					<?php if ($this->_tpl_vars['i']['status']): ?>
						<span style="font-weight:bold;color:#FF0000;">使用中</span>
					<?php else: ?>
						<a href="?m=api&a=sms_ch&id=<?php echo $this->_tpl_vars['i']['id']; ?>
">选择</a>
					<?php endif; ?>
				</td>
				<td></td>
			</tr>
		<?php endforeach; endif; unset($_from); ?>
	<?php else: ?>
	  <tr>
		<td colspan="7">还没有数据，赶快添加吧！</td>
	  </tr>
	<?php endif; ?>
	</tbody>
</table> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>